package com.ruoyi.erp.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 职员视图对象 base_employee
 *
 * @author chenyun
 * @date 2022-03-06
 */
@Data
@ApiModel("职员视图对象")
@ExcelIgnoreUnannotated
public class EmployeeVo {

	private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@ExcelProperty(value = "编号")
	@ApiModelProperty("编号")
	private Long id;

    /**
     * 机构
     */
	@ExcelProperty(value = "机构")
	@ApiModelProperty("机构")
	private Long orgId;

    /**
     * 部门
     */
	@ExcelProperty(value = "部门")
	@ApiModelProperty("部门")
	private Long deptId;

    /**
     * 职员编码
     */
	@ExcelProperty(value = "职员编码")
	@ApiModelProperty("职员编码")
	private String personCode;

    /**
     * 职员姓名
     */
	@ExcelProperty(value = "职员姓名")
	@ApiModelProperty("职员姓名")
	private String personName;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
	@ApiModelProperty("性别")
	private Integer sex;

    /**
     * 出生日期
     */
	@ExcelProperty(value = "出生日期")
	@ApiModelProperty("出生日期")
	private Date birthday;

    /**
     * 出生地
     */
	@ExcelProperty(value = "出生地")
	@ApiModelProperty("出生地")
	private String birthplace;

    /**
     * 证件号
     */
	@ExcelProperty(value = "证件号")
	@ApiModelProperty("证件号")
	private String idCard;

    /**
     * 状态
     */
	@ExcelProperty(value = "状态")
	@ApiModelProperty("状态")
	private String state;

    /**
     * 备注信息
     */
	@ExcelProperty(value = "备注信息")
	@ApiModelProperty("备注信息")
	private String remark;

    /**
     * 手机号
     */
	@ExcelProperty(value = "手机号")
	@ApiModelProperty("手机号")
	private String mobile;

    /**
     * 邮箱
     */
	@ExcelProperty(value = "邮箱")
	@ApiModelProperty("邮箱")
	private String email;


}
